<% if (process.env.NODE_ENV === 'development') { %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><%= process.env.VUE_APP_TITLE %></title>
    <!-- <script src="https://yunimg.5tree.cn/shijiwxy_jt/weixin/js/params-integration.min.js"></script> -->
    <link rel="stylesheet" href="/cache/ggui.css?version=8.0.0.1.2020.314">
    <link rel="stylesheet" href="/cache/font-awesome/4.7.0/css/font-awesome.min.css">
    <script src="/cache/jquery.min.js"></script>
    <!-- <script src="/cache/ui.js"></script> -->
    <!-- <script src="/cache/layer.min.js"></script> -->
    <!-- <link rel="stylesheet" href="/cache/layer.css?v=3.0.11110"> -->
    <!-- <script src="/cache/base.js?version=8.0.0.1.2020.314"></script> -->
    <style>
        .loading-bg,.loadingimg{position:fixed}
        .loading-bg{background:url(../images/ui-bg_diagonals-thick_20_666666_40x40.png);position:absolute;z-index:1498;left:0;top:0;width:100%;height:100%;opacity:0.5;filter:alpha(opacity = 50);-moz-opacity:0.5;line-height:100%}
        .loadingimg{top:36%;left:42%;width:200px;position:absolute;z-index:1500;text-align:center;height:40px;border-radius:10px;padding:20px;height:200px;border-radius:50%;color:#fff}
        .loadingimg img{border-radius:50%;margin-bottom:10px}
    </style>
</head>

<body>
<div class="topbar" style="display:none;"></div>
<div class="loading-bg" loading-id="loadbg" style=" display: none;">1</div>
<div class="loadingimg" loading-id="loadimg" style=" display: none;">
    <img src="/images/loading-2.gif">
    <div>数据加载中，请稍后...</div>
</div>
<% } %>

<%= htmlWebpackPlugin.files.css.map((css) => {
    return `<link rel="stylesheet" href="${css}" />`;
}).join('') %>
<style>[v-cloak] {display:none}</style>
<link rel="stylesheet" href="<%= process.env.VUE_APP_FEDERATION_HOST %>lib/layui/2.9.23/css/layui.css" />
<script src="<%= process.env.VUE_APP_FEDERATION_HOST %>lib/layui/2.9.23/layui.js"></script>
<script>
layui.config({dir: '<%= process.env.VUE_APP_FEDERATION_HOST %>lib/layui/2.9.23/'});
</script>

<div id="APP_FRAME"></div>

<script>
window.PAGE_NAME = '<%= htmlWebpackPlugin.options.pageName %>';
</script>

<%= htmlWebpackPlugin.files.js.map((js) => {
    return `<script src="${js}" type="text/javascript" defer="defer"></script>`;
}).join('') %>

<% if (process.env.NODE_ENV === 'development') { %>
</body>
</html>
<% } %>